Malayalam is the state language and also the most popular one. If you know a few words of Tamil you can find your way through the city. Keralites are not very comfortable with Hindi and in such cases it is better to switch to English.