Meet the Kanex Foldable Travel Keyboard: a compact keyboard that lets you type on your iPhone or iPad faster. You will be able to switch between your devices by pushing and holding the function and Z, X, C or V keys. The keyboard has a rechargeable battery and works with iOS, Android, and Windows devices.
This keyboard allows you to connect to 4 devices and switch among them. Costs under $45 at this time.