Whatever it is about coffee, it’s not the caffeine. After all, no one ever worries about tea and keto, and the problem with colas and keto is not the caffeine, but the sugar content.
In my years on this forum, I have learned two very important facts about coffee: (1) it is very bad for a ketogenic diet, because it kicks us out of ketosis, and (2) it is excellent for a ketogenic diet, because it enhances ketosis.
Just to declare how I come down on the issue, you can pry my coffee mug out of my cold, dead hands.