A vibrating sensation in the testicles can be caused by inflammation of the prostate gland. The pain or sensitivity from it can be referred to the testicles.
Causes of this inflammation can be infection, sitting for long periods of time, exercise that is too vigorous and exposes the area to great stress, such as horseback riding, or too much intake of caffeine, alcohol, or spicy foods.
If there is infection, it can back up into the male urinary tract and cause more referred pain as well.
It is best to see your doctor to rule out any possible infection if these symptoms persist, so that you can get treatment before any further complications should arise.
In the meantime, when sitting for long periods, get up and take breaks occasionally, and use some cushioning for the seat to protect the testicles.
Good luck and I hope this is helpful.
Hopefully not, but it is best to get a checkup from a doctor who can run a simple blood test and do a prostate exam to determine if there is any risk there.
However the vibration feeling can come simply from infection or inflammation and is not necessarily a symptom of cancer.
Even if, worst case scenario, cancer was detected, cancer of the prostate has a cure rate of over 90% if caught early on, so it's best to get this checked if he is concerned.