I tried cutting out caffeine when I was KU with DD. Didn't work, so I just cut back on my intake of it. My advice would be like for drinking in this instance, though. Drink til it's pink!
I probably shouldn't even be responding because I don't drink coffee normally, but I just wanted to say I agree with this. I think most people will say it's totally fine to have coffee, but in moderation. And after KU you can definitely still have it! But maybe stick to about one cup a day rather than 5-6 like some people would normally do!