The Visa policy for Indians states that the Visa will be given for a time period of 30 days which can maximum extend to 60 days. Indians can acquire Visas in two ways - through the Indonesia consulate or Indian embassy or get it stamped on the Indonesian arrival port itself, respectively.
Make sure your passport is valid for a minimum of six months from the expiry date mentioned. Also to include that you need to need to have not more than three months old, passport size pictures set against a white background for your form along with a confirmed ticket. The cost involved is around INR 750 to INR 1,700 depending on the length of your visa requirement.