Here's how you determine the parameters you need to set on the flash and the shutter speed on the camera.
First, determine how far apart you want the flashes to be. Say, for example, that you want the flashes to fire half a second apart from each other. That's a frequency of 2 flashes per second or 2 Hz.
Next, determine how many flashes you want to fire. You said you only want two flashes.
You'll also need to set the power level on the flash for each flash.
Set the frequency, the number of flashes and the power level on the flash.
To determine the shutter speed (in seconds) you need, divide the number of flashes by the frequency (n Hz). In the example above, that'll be 2 flashes / 2 Hz = 1. So, the shutter speed will need to be set to one second.