Caffeine?

I just found out I am pregnant. About 6 weeks. Yay! But I am a regular coffee drinker in the mornings. Is there an acceptable amount I can drink to avoid headaches or do I need to cut it out completely?