For some reason that I can't pin down, I never drink my daily caffeine if I'm going to trip that day. It just seems wrong. But once I'm tripping, the taste of a cup of coffee can really ground me and comfort me, so I don't worry so much about abstaining then. I think it's the same as smoking weed vs. not while tripping. For people who normally find it comforting, it will help, for people who don't love it, it makes things more confusing. I don't smoke weed while on any other drug because it's not my friend. I can use it on its own and make it work for me, but we don't have a natural affinity, so when I'm in the sensitive psychedelic state, I stay away. It doesn't smell right, I have no desire to do it, when I do it disorients me and causes concrete hallucinations, etc. Most of my friends, on the other hand, couldn't survive a trip without a few bowls. Just different brains.
But coffee is my ally, the thing that sets the positive tone for my day, relaxes me, and makes me appreciate the beauty of life, so I feel that there's a place for it in a trip. And when I'm coming down from salvia, I absolutely crave a cup of coffee to remind me what normal reality consists of.
And as a coffee enthusiast, I have to speak up for it in this topic, as I think it has been unfairly maligned. Green tea and yerba mate act as stimulants in the EXACT same manner as coffee. The sole difference is dosage. A cup of coffee generally has 135mg of caffeine in it (for an 8 oz cup, more like 200mg for a 12oz, and 250mg if you make it as strong as I do), whereas a cup of green tea has only 30mg, and a cup of yerba mate has probably in between the two (and it is not caffeine, but it is in the xanthine family and is identical in its method of action). So you see that those who are sensitive to caffeine (including most people with anxiety disorders) will experience negative effects more often from an average serving of coffee. But this is not a result of something different in the nature of coffee, it is just that they are consuming more caffeine than they can handle. It's like pouring yourself a pint glass full of bourbon and expecting it to be the same as the beer you usually drink, or saying you don't like weed because you ate three hash brownies once and threw up. If you tried a half-cup of coffee instead, or just 8 oz instead of filling up that 12oz mug, the results would be much more pleasant.
Personally, I am not very sensitive to caffeine, and 250mg is about my perfect dose, but my mother can't handle more than 60 without getting anxious and jittery and disturbing her sleep patterns. It's a personality thing. So don't blame coffee for your problems, just know what dosage you're comfortable with and drink whatever tastes best to you.
Also, while green tea is very good for you, moreso than coffee (for non-caffeine reasons such as less acidity and more antioxidants), yerba mate has a collection of possible health risks that I recommend you read up on. Most of the positive things said about it tend to be untested marketing hype.