To play the virtual piano, you can start by selecting a song from the virtual piano search box or browsing the music sheets available on the platform. The letters on the music sheets correspond to the keys on your computer keyboard. Press the highlighted keys on your keyboard to play the song.