I'm guessing you really just want the appropriate equations rather than an in depth treatment of relativistic acceleration. In that case read Phil Gibbs' article on the relativistic rocket. In particular, the velocity measured by an observer watching the rocket is:
$$ v = \frac{at} {\sqrt{1 + (at/c)^2}} $$
and the distance the rocket has travelled is:
$$ d = \frac{c^2}{a} \left(\sqrt{(1 + (at/c)^2} - 1\right) $$
Phil Gibbs doesn't give velocity as a function of distance, but it shouldn't be hard to use the second equation to substitute for $t$ in the first equation. That would give you velocity as a function of distance. Incidentally, as Monster Truck points out, the equation for distance is $v^2 = 2ad$ not $v = 2ad$, though I'm guessing that's just a typo.
Note that the variable $t$ in these equations is the time measured by the stationary observer watching the rocket. Because of the time dilation that happens at speeds near the speed of light, the time measured by the stationary observer and the the time measured by the crew of the rocket will not be the same. Because of this the equations give the velocity and distance of the accelerating rocket as measured by the stationary observer. The experience of the crew inside the rocket would be different.
In the unlikely event you feel the urge to find out how these equations are derived, borrow a copy of Gravitation by Misner, Thorne and Wheeler. The equations for the relativistic rocket are derived in chapter 6. However be warned that it's not easy going.