When you have to choose an option from the IVR, you will need to use the dial pad.
During the call you will have the Teams call window open where you have the options available shown below.
Click on "dial pad" to open the view below and to select your option in the IVR.