21weeks pregnant, am I going to loose the baby ??

Am
So I'm 21 weeks, but recently iv been drinking coffee, and I finally looked it up and it says that too much "2cups" even can cause you to have a miscarriage. Is this true? Or just a stupid myth to scare pregnant women? I need more info because yesterday I had to cups and then today I had one but I want another one, but I don't want to hurt the baby. At night I can feel the. Any move around, kick, and turn. So I feel fine.