Depending on your iPad model, you can type with the onscreen keyboard either floating and movable on the screen, split at the bottom of the screen, or undocked in the middle of the screen.
You can make the onscreen keyboard float and move it anywhere on the screen by dragging from the bottom of the screen.
Touch and hold , slide your finger to Merge, then release.
When Split Keyboard is turned on in Settings, you can undock the keyboard so that it moves up from the bottom of the screen (available on Select, cut, copy, and paste text on iPad