To configure your keyboard in Marathi, follow the steps below:
Open your phone's "Settings" app.
Go to Languages & input.
Under "Keyboard and Input" methods, select the Marathi keyboard as your choice.