How to connect ESP32 to HC-06?
You can either use a breadboard Or Female to Female Jumber wires.  

Ofoucrse you can always solder yourself the two modules together with wires.

PS. Too low reputation to comment, so i insert this as answer