Once you connect the nexus 7 to the internet via wifi, it should automatically give you an update to the latest version of kitkat 4.4.2. The installation is pretty straightforward as it basically installs itself.
If you are buying a new nexus 7, it will most likely come with kitkat installed, so you should be fine.