You have to put a driver that can recognise both the GPUs. Usually what I do is download latest & greatest from the nVidia web page, check if the OS can see both of them and if so - everything is okay. If it is not the case - I start trying different ones until the OS manages to find them. For me it usually works straight from the first try (almost every time).
To use the K5000 for viewport - just attach to monitor to it (I also prefer to put closer to the CPU the one with the monitor attached, but I don’t know if this matters). Using the tool named ocldeviceselect.exe (comes with V-Ray installation) you can check what kind of GPU devices the OS can see, and you can choose which of them to be used by V-Ray RT for rendering (you have to restart Max/Maya/etc when doing changes from the tool). So if you want to use only the 980ti, just uncheck the Quadro and click “okay” (or whatever the button is named).
V-Ray scales linearly. Meaning that it will get as faster, as the the Quadro K5000 is. Choosing which GPUs to render is quite easy (just use ocldeviceselect), so you can test to see what works best for you.
Keep in mind that when you use GPU for rendering and monitor, the UI of the OS might become sluggish. You can fix that be reducing “Ray Bundle Size” and “Rays Per Pixel” from the RT Settings Tab until it is okay. More hints for RT here: Chaos Docs