To make your iPad’s keyboard appear smaller, just hold your keyboard with two fingers and pinch your fingers together. This would decrease the size of the keyboard.
Now you are free to drag your keyboard anywhere on the screen, it would act like a floating keyboard.