How much coffee can you drink when pregnant

Ive only really started wanting to drink a coffee when pregnant im not really a hot drinks person i love a latte is it ok to have 1 cup a day ??? ive heard its bad for youre baby.