President Joe Biden awarded the Medal of Honor for conspicuous gallantry on Wednesday to two Union soldiers who stole a locomotive deep in Confederate territory during the Civil War and drove it north as they destroyed railroad tracks and telegraph lines.