As described, your iPad, charging cable or Power Adapter have suffered significant malfunction and damage. You would be unwise to attempt to use any of them until they have been assessed by an Apple Technician. You would be best advised to visit the Genius Bar at your local Apple Store or Apple Authorised Service Provider (AASP) - where the technicians will be able to offer assistance:
Genius Bar Reservation and Apple Support Options - Apple
For practical purposes, in lieu of repairing and returning your own iPad, Apple usually exchange the iPad for a renewed/refurbished iPad of the same model and specification. The cost of the exchange is the same as would otherwise be charged for repair. Unless you have benefit of an active AppleCare plan, an out-of-warranty repair while expensive will be somewhat less than the cost of a replacement iPad.
As for out-of-warranty repair costs, Apple offers a fixed-price price repair. You can verify eligibility and cost for your region/country here:
iPad Repair & Service - Apple Support
If you have an active AppleCare+ plan, the cost of repair is reduced to a small excess/deductible fee.