Riker is implying a double entendre on Data's answer, which wasn't intended, thus creating humor for the reader.
He is programmed in multiple techniques. A broad variety of pleasuring.