Since they are in your iPad, you should be able to sync things up. I'd suggest somehow making a copy of the Contacts list
before trying that, however. Manual syncing is about the only use I have for iTunes. It might be one of the valid reasons for using your iCloud account.

If you've been making backups, as we've preached monthly for years and years, those files/folders should be in Time Machine and whatever cloned back up app you are (should be) using.
These kinds of problems are exactly what back ups are for.
