A sip should be ok, but you probably don't want to drink too much
As long as you don't drink the whole thing and drink a ton of caffeine all the time you and baby will be fine. Occasional caffeine is okay. I stay away from energy drinks and coffee though.