No. You may drink as much water as you like while fasting, and medications are effectively noncaloric, meaning your fast will remain unbroken.