I need the motorway map of the United Kingdom as data in CSV file format.
You can get UK road data (including motorways) from the Ordnance Survey (OS) of Great Britain, as part of the OS Open Roads data set.
You can see metadata for the product on the data.gov.uk metadata portal https://data.gov.uk/dataset/os-open-road.
Or go directly to the OS: https://www.ordnancesurvey.co.uk/business-and-government/products/os-open-roads.html
Data is available as GML or shapefiles.