To calculate the two capacitors value you have to consider 3 components: ESP32 pin capacitance, PCB stray capacitance, and the combined value of the two physical capacitors. Assume PCB stray capacitance ballpark of 2pF,. 2 ESP32 pins 2pF each, in equivalent schematic connected in series, so they produce 1pF. Connected in parallel with stray capacitance totalling to 3pF. If the desired load capacitance should be 9pF, that leaves 9-3=6pF for the series combined physical capacitors (in equivalent schematic they are connected in series). Two 12pF physical capacitors will give 6pF in series. Therefore you start with 12pF capacitors from each leg of the crystal to ground, to arrive to 9pF load capacitance.