Apple may offer a future accessory that allows an iPhone and iPad or two iPads to connect together, with one iPad as the display for the joined unit, and the other as a dynamic keyboard.
People who are using iPads and the iPad Pro as a workstation instead of acquiring a MacBook Pro or MacBook Air often acquire a keyboard accessory, enabling them to type without using the on-screen keyboard. Using a separate accessory, like the iPad Pro’s Magic Keyboard, allows for the entire display to be used as there is no need to use the software keyboard at all.