Motor Driver IC - Motor Supply with Capacitor in Series
From table 2.2 of the datasheet, the voltage on VHS is 10V below the motor supply voltage.  So that would be 14V for your case. 

That suggests the max voltage across the capacitor is also 10V. Figure 3.1 of the datasheet confirms this by showing a 16V capacitor.