If the grandmother had a will, then the provisions of the Will will indicate what happens to a bequest if the intended beneficiary is deceased. Some wills specify that the bequest will abate (terminate), while others state that the bequest go instead to the "issue" of the deceased legatee (descendants such as children).
If, on the other hand, the grandmother did not have a will, the children may inherit. It would be helpful to know who survived the grandmother.
Good luck to you.