To change the keyboard layout type
sudo nano /etc/default/keyboard
and edit the XKBLAYOUT flag to your desired layout. For example to change the layout to "us" type
XKBLAYOUT="us"
The new layout will be used on reboot.