How to capture the keyboard in pygame during the game, where there isonly sound?

So guys. I am visually impaired and am starting now in Game Programming, trying to make a pygame game, but using only sound. But in the main menu I want that by pressing the Down Arrow it goes to a "new game" option, which I also wanted to learn how to create. And by pressing esc he exits the game. How do I do that? after entering new game, I want to open a text explaining the game and then the user would have to press the arrows on the keyboard to walk on the map and would like to play the sound of the steps. But I don't know how to create maps or anything. Here is my code

import pygame.mixer
from pygame.mixer import *
pygame.mixer.init()
pygame.mixer.music.load('musica.wav')
pygame.mixer.music.play(-1)
while pygame.mixer.music.get_busy():
    pygame.time.Clock().tick(10)
    m=input ('Menu principal, por favor selecione uma opção')
Author: Icaro Martins, 2019-05-20