Why Is My Ipad Dying While Charging. In most cases its usually down to the cable you are using. If not keep reading.

Press and hold down the Home button at the same time as the OnOff button. Once your iPad has rebooted repeat the previous steps and see if the battery drain has returned to normal. Restoring your iPad via iTunes will no doubt help you solve your iPad keeps restarting on its own issue.
In my experience this is usually the main issue.
However your data might get loss with this method. Keep holding them down and the screen will turn off. However your data might get loss with this method. Restoring will recover your iPad from the situation and stop its restarting over and over.
