`Let's answer a slightly more general version, where the distribution is still uniform but the sample has size $n$. Let $\max$ be the maximum sample and $\min$ be the minimum sample. Then I claim a valid $99\%$ confidence interval is
$$\left[\max - \frac{ \max-\min}{2 (.01)^{\frac{1}{n-1}}}, \min + \frac{ \max-\min}{2 (.01)^{\frac{1}{n-1}} } \right].$$
In particular in the $n=2$ case we get
$$\left [ \max - 50 (\max-\min), \min + 50 (\max-\min)\right]$$ which agrees with what I wrote in the comments (thanks to Isoif Pinelis for help in the comments).
To check this interval is valid, i.e. that the population mean $M$ is contained in it with probability (at least $99\%$), consider the sample which is farthest from the population mean $M$. This sample is either $\max$ or $\min$. It is $\max$ with probability $\frac{1}{2}$ and $\min$ with probability $\frac{1}{2}$. It suffices to show that, conditional on either of these events, the probability that $M$ lies in the confidence interval is $99\%$. Everything is symmetric so let us focus on the first case.
Conditional on $\max$ being the furthest from $M$, and conditioning on a particular value of $\max$, every other sample lies in $[ 2M - \max, \max]$. I claim we can treat the other samples as $n-1$ uniform samples from the interval $[2M-\max, \max]$. This is just because we are conditioning on the $i$'th (say) sample taking a particular value $\max$ and all other samples lying in the interval $[ 2M - \max, \max]$, and conditioning a uniform distribution on lying in a smaller interval always gives a uniform distribution on that interval.
Thus the probability that $\min> u$ is the probability that $n-1$ samples from a uniform distribution on $[2M-\max, \max]$ are all greater than $u$, which is $$\left (\frac{ \max-u}{2 (\max-M)}\right)^{n-1}.$$
Hence the probability that $$\min > \max-\hspace{5pt} 2(\max-M) (.01)^{ \frac{1}{n-1}}$$ is $.01$.
So with $99\%$ probability we have
$$\min \leq \max-\hspace{5pt} 2(\max-M) (.01)^{ \frac{1}{n-1}}$$
$$ 2 (\max-M) (.01)^{ \frac{1}{n-1}} \leq \max-\min$$
$$ \max - M \leq \frac{ \max - \min }{ 2(.01)^{\frac{1}{n-1}}}$$
$$ M \geq \max - \frac{ \max - \min }{2 (.01)^{\frac{1}{n-1}}}$$ so $M$ lies above the lower bound of the confidence interval.
And, on the other hand, since $\min \geq 2M-\max $ we have
$$ M \leq \frac{\max + \min}{2} = \min - \frac{\max -\min}{2} \leq \frac{ \max - \min}{2 (.01)^{\frac{1}{n-1}}}$$ so $M$ lies below the lower bound as well, hence within the interval, as desired.