India and Spain on Monday signed a Memorandum of Understanding (MoU) on cooperation in the field of rail transport that is expected to boost collaboration in the planning, deployment, operation and maintenance of high-speed and conventional railways.