The integral is studied in <A HREF="http://onlinelibrary.wiley.com/doi/10.1002/sapm1958371157/abstract">On Certain Indefinite Integrals Involving Bessel Functions</A> (1958).    
<sub>(The $i=0$ integral is $g(a,0,x)$ in the notation of that paper, and as Robert Israel points out, the $i=1$ integral is simply related.)</sub>   
The paper is behind a paywall, so I have not studied it.

And then there is <A HREF="http://web.eah-jena.de/~rsh/forschung/stoer/besint.pdf">Tables of some indefinite integral of bessel functions of integer order,</A> (2017) which examines the $i=0$ integral and gives both a small-$x$ and a large-$x$ series expansion. 

For small $x$ we can use the power series from page 87, 

<IMG SRC="https://ilorentz.org/beenakker/MO/Bessel_series.png"/>

For large $x$ the power series in $1/x$ is given on page 89:

<IMG SRC="https://ilorentz.org/beenakker/MO/Bessel_series_2.png"/>

There are also small-$a$ and large-$a$ expansions, which I won't reproduce here.