This can be done one of two ways. With the Kestrel you can find the wind direction (just let the lanyard hang off the bottom to see this) and point it into the wind. The compass needs to be calibrated to do this, and then the device will correctly calculate the crosswind.
The other option is...