Caffeine can irritate the bladder, so it's a recommendation not to drink tea or coffee. I must confess that I couldn't give up my beloved tea during my RT (which came with a similar recommendation) and didn't suffer any awful consequences.
Perhaps you could cut down or temporarily switch to decaf?
Best wishes for your surgery,
Chris