Coffee while Prego

Bad idea or not?? I usually have 2 cups a day not sure if that is ok or should I try and cut back??