The local language used in Lombok is Bahasa Indonesia. If you desire to learn few common phrases locally before your trip then it is definitely not a bad idea. Some of the common greetings are:
Terima Kasih means Thank you
Selamat Siang means Good day
Apa Kabar means How are you
Berapa Jauh means How far