Not actually tried this, but assuming all the fans are in an array, all that is required is to generate two random numbers – difficulty is, these need to be distinct.
A Do…LOOP UNTIL will work – along these lines:
Generate first random number
Generate second random number
Loop until first random number <> second random number
Select fan in array(first random number)
Select fan in array(second random number)
Hope this helps.