This answer should be answered by your physician. Since there is quite a bit of information we are missing from this question and the obvious liability of a miss informed opinion. You should direct this question to a doctor who is aware of your case.
You should follow the advice given to you by the surgeon's team. They will typically give you detailed instructions regarding what limitations are being advised regarding taking food, drink, and medications during a specified period of time prior to the hospital appointment. The nature of these limitations will depend on the type of surgical procedure that you are scheduled to undergo.Surgery question