Using esp-01 can be a bit annoying sometimes, for somethings the 0 and 2 pins just refuse to work as you would like, if you need serial port and a pin that play nice here is a trick that i use.
Serial1.end();
Serial.end();
Serial.begin(115200, SERIAL_8N1, SERIAL_RX_ONLY ); //this uses the RX pin
Serial1.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY );//this uses pin 2 as TX
This will leave pin 1 free to use for something else.
Remember you will probably still need to use 10k pull-ups on pin 0 and 2.
Best of luck.