Two men who described themselves as "pedos" in messages discussed raping someone in the changing rooms of a swimming pool, and kidnapping schoolchildren, a court has heard.