Caffeine ?

Thoughts on drinking a cup of coffee while pregnant? I just found out I am and wanted to cut out caffeine but the headache from it was unbearable! I was thinking about one cup a day?