For the most part, this will be invisible for you. If the server support HTTP/2 and you're using a modern browser, it'll happen automatically, provided your website is delivered over HTTPS
That means that local testing, unless you're serving your own certificate, will always be HTTP/1
If you've access to the server, once way of finding out is by looking at request headers. From https://developers.google.com/web/fundamentals/performance/http2#binary_framing_layer:
Unlike the newline delimited plaintext HTTP/1.x protocol, all HTTP/2 communication is split into smaller messages and frames, each of which is encoded in binary format.
So basicially, if your headers are in binary, your running HTTP/2.
@Rojo's answer also works for me, running it in the web console on this page, (but again, not locally because of the HTTP requirement)