As others mention, show the keys in the interface. It took me a while to discover accidentally, by pressing space, that I can trim the sails. You could make a graphical guide, showing a ship with arrows around, some arrows attached to the hull with keys responsible for turning the ship, some arrows attached to sails with keys responsible for trimming them. Yet another key by the cannons fire to show which key... umm... fires the cannons...
If it's only a few buttons anyway you can just show them somewhere as hints while the user isn't giving input or until they used then.
Eg just show a "m for Map\nspace to fire" until the user used each, hiding them each when the m/space is used respectively for that session (session storage so it shows up again if the user comes back later)
Though I’m worried it’s gonna be tougher for people to find the map and ship logs since space is a natural button to try and press early on