Take it to Apple or an Authorized Apple Service Provider.
The part is called the "topcase", and it includes the keyboard and trackpad.
If it's less than three years old, they'll probably just swap it free of charge.
If it's older than three years, they might just do it anyway if you ask nicely, and worst case, you might have to call AppleCare to get an authorization code.