Too Much Caffine

I went and had my 20 week scan. It's been a stressful pregnancy. After, we went to really late lunch celebrating a healthy baby. I don't usually drink soda, but I crave it with this child. Seriously, I never drank Caffine with my first. But I have an occasional small cup to satisfy  the craving and go back to water. But today, against better judgement I had Coke. I don't even remember how many times she filled my glass. Unlike at home where I pay better attention to how much I drink of something.  We were just enjoying some down time and a healthy baby. 
At 11 tonight I hadn't eaten anything since the lunch so I grabbed some milk and a poptart. Not super healthy but it was late and I needed something fast. 
But it is 2 am and I'm wired for sound. I've got a horrible headache. And it felt like my heart was beating fast at one point. Like I said, I'm usually a water drinker. I've felt the baby bouncing around. I'm worried he got wired up from too much Caffine. 
I will absolutely not be having any more soda for a long time. 
But should I be worried about the baby? I mean people drink soda and Caffine. Wonder if this is my body dealing with all the excess it isn't used to. The baby was perfect on the ultrasound today. 
I just feel absolutely wired up.