There are many ways to do this. For instance with Constraints on the two small Spheres in this example:

The small Spheres will always stick to the surface of the big one…
The Distance is between the Origins and the big Sphere has a radius of 2m and the small ones have a radius of 1m here.