In TWRP you have to format data to get rid of encryption, after succesful format reboot again into TWRP
Now you should see internal storage on PC , copy downloaded ROM to internal storage and flash.
EDIT: looks like MI9 ROM is not available yet, so be patient and wait.