Opposable hands designs have evolved separately in rodents, primates, dinosaurs, and reptiles and in all cases, they seem to have evolved out of a need to climb. While hooves seem like a bad starting place for designing nimble grasping appendages, the mountain goats of today could easily be a transitional species moving in that direction.
Mountain goats are members of the bovidae family making them very closely related to bovines. One of their adaptations that help them climb so well is that their hooves have pliable, rubbery pads and their toes can spread to improve balance and grip. If Mountain Goats could evolve these features; so, could a true bovine living in the same niche like a Mountain Anoa.
In a few thousand more generations mountain goat hooves will likely evolve to be better and better at grasping things, since those who do not grasp so well are more prone to be selected against. In this respect it is very much possible for them to evolve their own version of hands, and appendages that can rotate out more for better hugging trees and cliff faces.
When you consider that the average bovine brain is about the same size or bigger than that of a chimpanzee, then it also seem reasonable that once you give them hands, intelligence and tool usage would be a relatively easy next step.
As forelimbs become more and more important for things other than walking, bipedalism will become evolutionarily favored.
