The Microbit Piano Expansion can be purchased here:
The overview for this component is detailed here including the user manual which explains how to add the key blocks to the make code editor: