There are indeed ${20 \choose 2} = 190$ possible pairs among the $20$ students. Thus, if only one pair was chosen randomly from among the students, the probability that this pair happened to consist of John and Steve would be $\frac1{190}$.
However, the question strongly implies (even if it does not quite say so outright) that all the students are paired up, i.e. that $10$ pairs are formed. The probability that one of these pairs contains John and Steve turns out to be $10 \cdot \frac1{190} = \frac1{19}$.
This is a somewhat surprising result, if you think about it, since the pairs are chosen without replacement, and are therefore not independent.* Thus, it may not be at all obvious that the correct result should be obtainable by simple multiplication. One way to prove that this does, in fact, give the correct result is by induction on the number of students.
However, in this case, there's a much simpler alternative way to arrive at the same solution: simply observe that John will always end up paired with some other student, and consider the probability that, out of the $19$ possible choices, that random other student happens to be Steve.
*) In fact, if the $10$ pairs were chosen independently with replacement, the probability that John and Steve would be paired together at least once would not be $10 \cdot \frac1{190} = \frac1{19}$, but rather $1 - \left(1 - \frac1{190}\right)^{10} \approx 0.05140 \approx 1/19.45 $.