What president Johnson or Kennedy passed funding for the space program?

If you are speaking of the National Aeronautics and Space Administration (NASA) as the space program, then neither Presidents John F. Kennedy Lyndon B. Johnson passed funding for NASA. NASA started in July 1958 with President Dwight Eisenhower passing the bill that allows funding for NASA with funding which was in June 1958.