Some new studies have recently show that moderate consumption of coffee is okay.
A good thing to do is to make drink water after having a coffee as it does dehydrate you and making sure you get enough calcium as caffeine inhibits the body's ability to absorb calcium.
I limit myself to one regular coffee a day and then switch to decaf tea or herbal tea. I can't live with out my cup o joe first thing in the morning