Moderate coffee consumption is typically okay up to a certain point before and after surgery, but it’s important to follow specific pre- and post-operative care instructions provided by the surgeon. It is often recommended to avoid caffeine close to the surgery date as it can affect blood pressure and hydration levels.