Startbucks while pregnant ??

I’m currently 21w and I been craving coffee!!

I don’t really drink coffee but lately I’ve been drinking 1 or 2 a week...

But today I did drink 2 Ice caffe latte from Starbucks 😏 one in the morning before going to work (small one) , and one at dinner (big one) . I was wondering if it can be bad for the baby if I took 2 coffees today???

I’ve read online that it can cause miscarriage have anyone been there?? Or something wrong with the baby???