To clarify what pik0 says, you need to purchase the Apple Camera Connection kit separately, then plug in the one that has the USB plug into the bottom of your iPad. Then plug your keyboard into that.
And what pik0 means re: the USB bus is the keyboard should not have any other USB plugs in it. It should be a plain keyboard with no ability to plug anything else into it.