If your keyboard view has "gone missing" from Kontakt, you'll need to re-enable it by clicking on the "Workspace Management" menu item at the top of the Kontakt window, then clicking "Keyboard" from the list.