I think you can drink anything you want after surgery except for mixing alcohol with narcotic pain relievers. Caffeine should be fine.
Typically orange juice is fine to drink post operatively, but doctors preferences on caffeine can vary. It is best to speak with your PS about his/her restrictions on caffeine intake.