This sounds like the green keyboard ribbon membrane is either not inserted fully flat into the white keyboard connector on the motherboard or the membrane is faulty.
Membranes can become damaged when they are twisted or the carbon conductive paint becomes eroded away.