Despite the main language being Arabic many Moroccans (who deal with tourists) can speak French, which goes back to the colonial days when they were forced to speak it . 

Thank you : Merci [french] :

Choukran: thank you [arabic] : pronounced 'Shokoran'

Bonjour : hello [french]: 

Hello/ 'peace be with you': Salam

Sorry : Pardon, [french]

Please: minfatlika  

Cheerio: ma arsalema  

Good bye : B slema   OR Salam Alikome

good morning : sabba elkir 

good night :maas elkir

marhba bikoum =  you are welcome : [Fr] vous etes les bienvenus

Other useful phrases:

La bas? = How are you?

La bas = I'm fine (yes, the response is the same as the question)

Al-hamdu-lillah = I'm fine (literally, Praise be to god)

Feen...? = Where is ...?

Shahal taman? = How much (price)? C'est combien? (french)

No = La

Yes = Naam or Iyeh or Aiwa

Seer (or Seer f'halek) = go away

Hashouma = shame on you