Tap water at your accommodation is technically safe for drinking, and certainly fine for cooking and brushing teeth, but it is not recommended to drink large quantities. Bottled water is cheap in Morocco (5 dirhams) and is available everywhere. You can also bring a water purifier if you prefer.