My first guess is that you'll need to transfer your media content from the PC to the iMac, then do the syncing with the iPad.
I would expect that when you first plug it into the iMac, it will give a warning saying that the iPad is set to sync with another computer. But this shouldn't bother you as long as you have moved the identical content onto the iMac.