For iOS devices, go into Settings, General, and then Restrictions. Enable Restrictions if you need to and then turn off In-App Purchases.