Railway Ministry allocated over Rs 1,40,000 crore in Budget