Coffee and my heart

So I’m 24 weeks pregnant and I no coffee is not good and I’m glad my body has done this to me or I would drink so much

About 3 weeks ago I woke up and had my morning coffee and my heart was beating so fast i could feel it I was all skatty and shaky to!!!

I don’t no what that could of been but it put me off as I thought I was having a heart attack I’ve now moved on to decaf coffee and I have one a day and i couldn’t feel any better ...

Just wanted to no if anyone else had anything similar? Xx