"Two completely random numbers" is not a well-defined probability distribution,
even when restricted to positive real numbers.
The actual probability distribution must be something more specific,
for example, if all positive real numbers are possible choices then the
exponential distribution
is a possibility.
But notice that with an exponential distribution, the probability of
choosing a number between $1000$ and $1001$ is less than
the probability of choosing a number between $1$ and $2$.
There is literally no possible random process with an infinite number of
possible outcomes that can have a uniform probability distribution over
all of its range. If you want all positive real numbers to be possible,
you must let there be some numbers $m$ and $n$ such that the
probability that your random number $x$ satisfies $m \leq x < m + 1$
is less than the probability that $n \leq x < n + 1$.
Since you want to be able to choose any positive real number,
and you don't seem to want any one number to be much more likely to be
chosen than any other number near it,
I'll consider only continuous distributions over the interval $[0,\infty)$.
A number selected from a continuous distribution can be any real number
in the range of the distribution, but for any particular number $k$
in that range, the probability that the random number will be exactly
equal to $k$ is zero.
(See this earlier question and its answers for further discussion of that fact.)
If you choose two numbers independently using identical continuous
probability distributions, it is not forbidden for the second number
to be equal to the first, but the probability of that event is zero.
So an argument by symmetry can show that the first number is greater
with probability exactly $\frac 12$, provided you have first defined
an actual continuous probability distribution over the positive real numbers
(and have accepted the necessary fact that this distribution
will be non-uniform).
There is also a way to do this by use of the $x,y$ plane.
We let $x$ be chosen randomly according to a continuous distribution over
$[0,\infty)$, and also let $y$ be chosen independently according to
an identical distribution.
It is then possible to define a joint distribution function for $(x,y)$
over the $x,y$ plane such that the probability of the point $(x,y)$
falling in any particular region is the integral of the joint distribution function over that region.
So define a suitable probability distribution, find the joint distribution,
integrated it over the (infinite) region of the $x,y$ plane where
$x < y$ and $y > 0$, and show that this integral equals $\frac 12.$
(The easiest way to show this may again be by a symmetry argument.)