Two prisoners have died, and another is in critical condition after consuming essence meant for cake preparation at Mysuru Central Prison on December 28.