there is a small plastic bezel in front of the keyboard, where the top end of the keyboard is. you can pry up the bezel with a screwdriver or a plastic tool if you like to keep the visual appearance intact. after prying up the bezel the whole keyboard comes lose, so you can easily disconnect it and replace it with the new one.
install the bezel back in by pressing it in place and you're finished!