A cranky two year old either needs a nap, is hungry or bored. So if the child needs a nap let he or she take one. If the child is hungry then you should prepare a nice meal that he or she will enjoy to cheer them up. If the child is bored then perhaps you can give them a toy that your save hidden away just for these occasions to interest them when all else fails. Remember they are only two years old.