Coffee is an acidic food that is also a powerful GI tract irritant and it will wreak havoc on both your lower and upper digestive tract - please avoid it completely (even decaf!) Tea is not a safe replacement beverage, however; both black and green teas contain caffeine (problematic for IBS) and tannins (not good for reflux).