How can I connect my Windows laptop's keyboard to my iPad?
You may want to have a look at an App called AirType.  According to the developer, it works on Mac, Windows and Linux machines and the requirements are iOS 8 and above as well as both devices being on the same network.