Caffeine when pregnant , side effects...?

♡ 𝓚𝓪𝓽𝓻𝓲𝓷𝓪 𝓵𝓸𝓾𝓲𝓼𝓮 ♡
So here's my dumb question. I'm 25+3 pregnant and been told by someone that I shouldn't have any caffeine at all when I drink at least two cups of tea a day. Am I okay drinking that ? What does having caffeine do or what effect does it have on you / baby ???