That means ab = 2p.
Two integers whose product is a semiprime. That means (a, b) = (2, p) or (p, 2) or (1, 2p) or (2p, 1).
Therefore the number of ordered pair is 4n, where n is the number of prime number less than 100.
You can finish it by counting the number of primes smaller than 100.