If you loose sound for keyboard clicks, games or other apps, email and other notifications, system sounds have probably been muted.
System sounds can be muted and controlled in two different ways: either by the side switch (located next to the volume up/down controls) or in the Recent Apps tray. The initial default is via the side switch.
Check the status of Settings > General > Use Side Switch to:. If this is set to Mute, the switch on the side of the iPad will mute system sounds.
If this is set to Lock rotation then the mute system sounds control is in the Recent Apps tray. Double tap the home button and, in the tray which appears at the bottom, swipe all the way to the right. The speaker icon is on the left. Is it is crossed-out tap on it and mute will be turned off and system sounds will be turned ON.
This Apple Support article explains in more detail how the side switch works.
1. Double-click the Home button and swipe Tadk Bar to the right. Check Volume and Mute settings.
2. If the above doesn't work, try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple Logo.