But coffee is of course OK.

This is a good question and actually something I have wondered about.