In restaurants, often the tip is already included in the price, or you automatically pay extra for tipping when paying. If the tip is not yet included in the bill, 10% is normal. For guides at sightseeings sites it is normal to give around 30,000 rupiah (or 100,000 rupiah for the entire day).