There is no single name to point at — the computer was assembled piece by piece over roughly two centuries.
Charles Babbage designed the Analytical Engine in the 1800s, a mechanical general-purpose calculator that never got built. Konrad Zuse's Z3 in 1941 was the first working programmable machine, and Alan Turing's 1936 paper gave the field its theoretical foundation. ENIAC, finished in 1945, was the first large-scale electronic general-purpose computer.
So the honest answer to "who thought of the computer" is: a lot of people, building on each other.