Ponies have key-sized wooden blocks they stick to the undersides of their hooves, that allows them to press the individual keys.
It's like playing with chopsticks.
(type writers and pianos are also representative of two opposing factions in the Equestria tech world - those who believe the tool should be made to suit Earth Ponies' hooves, and those who believe tools should be made to cater to unicorns first, with earth ponies having to adapt to use the tools they are given - aka made by earth ponies for earth ponies, vs made by unicorns for unicorns)