I am severely allergic to coffee... What's a good substitute? I also can't do dairy

I've been trying to do keto, but my energy still is low and I'm having issues with constipation. Any advice?