I dont know if this will work, but can you use the 'on-screen keyboard' app that comes with windows?
Also have you enabled the console debug window out of game, it was removed in an earlier version and you need to re-enable it.
In steam go to > GalCiv3 Properties, and click set launch options under general. Then type "Cheat" into the window without the " .