iPad users can move their keyboard from its static position at the bottom of the tablet’s screen and split it in two to make typing easier. iPad owners can also place the keys in different locations on the screen to make the keys easier to access. Read on to learn how to customize your keyboard on an iPad running iOS 13 or later to your specific needs.
How to Move the iPad Keyboard | Mac Basics
Here's how to detach the keyboard and move it to another location on the screen:
Open an iOS app such as Notes or Messages that uses the keyboard as its primary function.
Tap a text field to open the keyboard.