Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
You need a USB-A (what is probably on your iMac) to USB-C cable (iPad). Or you can do it wirelessly.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.