Malaysia is set to build a RM9 billion double track electrified railway from the town of Ipoh to Padang Besar at the border with Thailand.